<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./iconfont/iconfont.css">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }
        
        body {
            background-image: url('./images/bg.png');
            background-size: 100% 100%;
        }
        
        div.client {
            /* background-color: red; */
            height: 100vh;
        }
        
        div.top {
            height: 140px;
            /* background-color: red; */
            /* background-color: skyblue; */
        }
        
        div.top>div>span {
            display: inline-block;
            width: 30px;
            height: 30px;
            font-size: 18px;
            color: #fff;
            text-align: center;
            line-height: 30px;
            -webkit-app-region: no-drag;
        }
        
        div.top>div>span:hover {
            background-color: #ff5439;
        }
        
        div.top>div>span:first-child {
            float: left;
        }
        
        div.top>div>span:nth-child(n+2) {
            float: right;
        }
        
        div.bottom {
            overflow: auto;
            height: 500px;
            background-color: rgba(255, 255, 255, 0.5);
            opacity: 0.5;
        }
        
        .message {
            overflow: hidden;
        }
        
        .message>div {
            float: left;
        }
        
        .message-l {
            position: relative;
        }
        
        .message-l img {
            width: 55px;
            height: 55px;
            border-radius: 27.5px;
            margin: 0 10px 0 20px
        }
        
        .message-l::after {
            position: absolute;
            content: '';
            right: 10px;
            bottom: 5px;
            border-radius: 6px;
            width: 13px;
            height: 13px;
            background-color: #09f175;
        }
        
        .message-c {
            color: #fff;
            margin-right: 60px;
        }
        
        .name {
            font-weight: 700;
        }
        
        .sign {
            font-size: 13px;
        }
        
        .message-r>span {
            color: #fff;
            width: 50px;
            font-size: 50px;
            height: 50px;
        }
        
        .search {
            opacity: 0.9;
            position: relative;
            margin-top: 20px;
            /* background-color: #fff; */
            padding-left: 30px;
        }
        
        .search i {
            color: #ddd;
            position: absolute;
            top: 8px;
            left: 10px;
        }
        
        .search input {
            color: #ddd;
            background-color: rgba(255, 255, 255, 0);
            font-size: 14px;
            height: 30px;
            width: 100%;
            border: none;
            outline: none;
        }
        
        ul {
            position: relative;
            opacity: 0.5;
            background-color: rgba(255, 255, 255, 0.5);
            z-index: 99;
            list-style: none;
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-around;
        }
        
        ul li {
            /* background-color: red; */
            height: 40px;
            line-height: 40px;
            padding: 0 20px;
        }
        
        ul li:first-child {
            border-bottom: 2px solid #9a7966;
        }
        
        .diaogue {
            padding: 10px;
            position: relative;
            height: 60px;
        }
        
        .diaogue:hover {
            background-color: #ddd;
        }
        
        .diaogue img {
            margin-right: 10px;
            width: 42px;
            height: 42px;
            border-radius: 21px;
        }
        
        .diaogue>div {
            float: left;
        }
        
        .content-h {
            font-size: 16px;
        }
        
        .content-p {
            font-size: 12px;
        }
        
        .time {
            position: absolute;
            right: 10px;
            top: 10px;
            font-size: 12px;
        }
        
        .bottom {
            max-height: 460px;
        }
        
         ::-webkit-scrollbar {
            width: 7px;
            height: 7px;
            background-color: #F5F5F5;
        }
        /*定义滚动条轨道 内阴影+圆角*/
        
         ::-webkit-scrollbar-track {
            box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            background-color: #F5F5F5;
        }
        /*定义滑块 内阴影+圆角*/
        
         ::-webkit-scrollbar-thumb {
            border-radius: 10px;
            box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
            background-color: #aaa;
        }
    </style>
</head>

<body>
    <div class="client">
        <div class="top" style="-webkit-app-region: drag">
            <div style="overflow: hidden;">
                <span class="iconfont icon-qq"></span>
                <span class="iconfont icon-ziyuan"></span>
                <span class="iconfont icon-jian"></span>
                <span class="iconfont icon-jia"></span>
                <span class="iconfont icon-youxiang"></span>
                <span class="iconfont icon-qqkongjian"></span>
            </div>
            <div class="message">
                <div class="message-l">
                    <img src="./images/tx.jpg" alt="">
                </div>
                <div class="message-c">
                    <div class="name">Peter Roe</div>
                    <div class="sign">编辑个性签名</div>
                </div>
                <div class="message-r">
                    <span class="iconfont icon-taiyang-copy"></span>
                </div>
            </div>
            <div class="search">
                <i class="iconfont icon-fangdajing"></i> <input type="text" placeholder="搜索">
            </div>

        </div>
        <ul>
            <li>消息</li>
            <li>联系人</li>
            <li>空间</li>
        </ul>
        <div class="bottom">

            <div class="text">
                <div class="diaogue">
                    <div class="img">
                        <img src="./images/tx.jpg" alt="">
                    </div>
                    <div class="content">
                        <div class="content-h">
                            李华
                        </div>
                        <div class="content-p">
                            哈喽
                        </div>
                    </div>
                    <span class="time"> 20:56</span>
                </div>
                <div class="diaogue">
                    <div class="img">
                        <img src="./images/tx.jpg" alt="">
                    </div>
                    <div class="content">
                        <div class="content-h">
                            李华
                        </div>
                        <div class="content-p">
                            哈喽
                        </div>
                    </div>
                    <span class="time"> 20:56</span>
                </div>
                <div class="diaogue">
                    <div class="img">
                        <img src="./images/tx.jpg" alt="">
                    </div>
                    <div class="content">
                        <div class="content-h">
                            李华
                        </div>
                        <div class="content-p">
                            哈喽
                        </div>
                    </div>
                    <span class="time"> 20:56</span>
                </div>
                <div class="diaogue">
                    <div class="img">
                        <img src="./images/tx.jpg" alt="">
                    </div>
                    <div class="content">
                        <div class="content-h">
                            李华
                        </div>
                        <div class="content-p">
                            哈喽
                        </div>
                    </div>
                    <span class="time"> 20:56</span>
                </div>
                <div class="diaogue">
                    <div class="img">
                        <img src="./images/tx.jpg" alt="">
                    </div>
                    <div class="content">
                        <div class="content-h">
                            李华
                        </div>
                        <div class="content-p">
                            哈喽
                        </div>
                    </div>
                    <span class="time"> 20:56</span>
                </div>
            </div>
        </div>
    </div>
    <script>
        let text = document.getElementsByClassName('text')
        console.log(text)
    </script>
</body>

</html>